from tkinter import *

root=Tk()

w=Canvas(root,width=200,height=100)
w.pack()

w.create_line(0,0,200,100,fill="green",width=3)
w.create_line(200,0,0,100,fill="green",width=3)
w.create_rectangle(40,20,160,80,fill="green")
w.create_rectangle(65,35,135,65,fill="yellow")

w.create_text(100,50,text="ziqiao")


mainloop()
